﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CampusTrade.Pojo
{
    [SugarTable("answer")]
    public class Answer
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }
        [SugarColumn(ColumnName = "question_id")]
        public long QuestionId { get; set; }
        [SugarColumn(ColumnName = "content")]
        public string Content { get; set; }
        [SugarColumn(ColumnName = "uid")]
        public long UserId { get; set; }
        [SugarColumn(IsIgnore = true)]
        public User User { get; set; }
        [SugarColumn(ColumnName = "create_time")]
        public long CreateTime { get; set; }


    }
}
